# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-telethon-session-sqlalchemy
pkgver=0.2.15
pkgrel=0
pkgdesc="SQLAlchemy backend for Telethon session storage"
url="https://github.com/tulir/telethon-session-sqlalchemy"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/t/telethon-session-sqlalchemy/telethon-session-sqlalchemy-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/telethon-session-sqlalchemy-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="555f06690ca85905abbca9c060a90c4c3c7ecff3861da703ab84fc2e32f90ce3925e979d5d9fb4003bbda72250b1c8a2b10c2ce66f228c0b5beb217748247296  telethon-session-sqlalchemy-0.2.15.tar.gz"
